<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>像素操作</title>
    <style>
        canvas {
            display: block;
            margin: 50px auto;
            cursor: crosshair;
        }
        img {
            display: none;
        }
        .ctrlGroup > select {
            width: 100px;
            height: 25px;
        }
    </style>
</head>
<body>
    <canvas id="c"></canvas>
    <div class="ctrlGroup">
        <select name="operation" id="operation">
            <option value="Default">默认</option>
            <option value="Enlarge">放大</option>
            <option value="Opacity" selected>透明</option>
        </select>
    </div>
    <img id="curImg" src="../../images/img_1.jpg" alt="汉服">
<script src="./index.js"></script>
</body>
</html>